package com.xw;


import com.xw.controller.ControolerJDBC;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


//1.配置类@SpringBootConfiguration
//2.自动加载配置@EnableAutoConfiguration 自动加载其他的配置类
//3.@ComponentScan 默认是当前类所在的包，子包
@MapperScan("com.xw.mapper")
@SpringBootApplication //启动类
public class Xw {
    public  static void main(String[] args){

        //创建ioc容器
        SpringApplication.run(Xw.class,args);


    }
}
